let Schema = require('mongoose').Schema

const productSchema = new Schema({
    name: String,
    detail: String,
    picture: Array,
    price: Number,
    stock: Number,
    code: String,
    brand: String,
    type: String,
    category: String
})

module.exports = productSchema
